package isanfeng.tuxiaoer.pattern.creational.Cabstractfactory;

import isanfeng.tuxiaoer.pattern.creational.Cabstractfactory.model.Article;
import isanfeng.tuxiaoer.pattern.creational.Cabstractfactory.model.JavaArticle;
import isanfeng.tuxiaoer.pattern.creational.Cabstractfactory.model.JavaVideo;
import isanfeng.tuxiaoer.pattern.creational.Cabstractfactory.model.Video;

/**
 * @author 李红辉
 * @version 1.0
 * @date 2019/9/27 18:09
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
